"""
__author__ = '霍格沃兹测试开发学社'
__desc__ = '更多测试开发技术探讨，请访问：https://ceshiren.com/t/topic/15860'
"""


# 开发写的被测代码
import pytest


# def get_datas(level):
#     testa = level +40
#     testa1 = level +30
#     expect = testa + testa1
#     result = [testa, testa1, expect]
#     return result

class Calculator:

    def add(self, a, b):

        if a > 99 or a < -99 or b > 99 or b < -99:
            print("请输入范围为【-99, 99】的整数或浮点数")
            return "参数大小超出范围"

        return a + b

    def div(self, a, b):
        if a > 99 or a < -99 or b > 99 or b < -99:
            print("请输入范围为【-99, 99】的整数或浮点数")
            return "参数大小超出范围"

        return a / b
#
# if __name__== '__main__':
#     pass
    # a = Calculator().div( a=23, b=0.2)
    # print((a))
    # b = get_datas(60)
    # print(b)
    # b = Calculator().add()
    # print(b)
    # if 86.75/23.46 == a:
    #     print("success")
    # else:
    #     print("fail")